package edu.zut.hys.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableCaching
@MapperScan("edu/zut/hys/base/mapper")
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages={"edu.zut.hys.base", "edu.zut.hys.user"})
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}
